<?php

namespace App\Models;

use Dcat\Admin\Traits\HasDateTimeFormatter;

use Illuminate\Database\Eloquent\Model;

class YjBanner extends Model
{

    protected $table = 'yj_banners';

    protected  function getAllBanners(){

        return self::all() ;
    }

}
